package com.matt.service;

import com.matt.domain.meeting.Meeting;
import com.matt.domain.meeting.MeetingContent;
import com.matt.domain.meeting.MeetingType;
import com.matt.foundation.DO.MeetingDO;
import com.matt.foundation.query.MeetingQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/6/28
 * *******************************
 */
public interface MeetingService {
    Page<MeetingDO> getPage(MeetingQuery query);

    Boolean addMeeting(String realName, Meeting meeting, String uids, String startDate);

    List<MeetingType> getAllType();

    Meeting getById(String id);

    List<MeetingContent> getByMeetingId(String id);

    MeetingContent addMeetingContent(String uid, String uname, String mid, String content, String attr);
}
